package com.company;

public class classwork {

    public static void main(String[] args) {
	// write your code here
        classworkTread t1=new classworkTread(true);
        classworkTread t2=new classworkTread(false);
        t1.setName("存钱");
        t2.setName("取钱");
        t1.start();
        t2.start();
    }
}
